package com.iot.inter.entity.newrequest.order.purchaseplan.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class PurchasePlanRequest implements Serializable {

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String deviceId;

    @ApiModelProperty(value = " 是否为主号订购的套餐；1-是；0-否；", example = "", dataType = "String")
    private String globalOrder;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String packageName;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String packageCode;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String packageType;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String orderPeriod;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String amount;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String secret;

    @ApiModelProperty(value = "设备标识码", example = "", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "支付结果：取值如下：1-未支付；2-支付成功；", example = "", dataType = "String")
    private String payRst;

    @ApiModelProperty(value = "支付方式：取值如下：1-微信2-paypal", example = "", dataType = "String")
    private String payType;

    @ApiModelProperty(value = "是否立即开通此套餐，对于支付成功，则允许立即开通；对于未支付订单，不允许开通；日程套餐订单不允许开通；OTA设备的副号流量套餐不允许立即开通。取值如下：1-立即开通；0-不开通；", example = "", dataType = "String")
    private String isOpen;

    @ApiModelProperty(value = "是否有测试流量，仅限首单可设置为1", example = "", dataType = "String")
    private String testFlowFlag;
}
